//
//  CustomAListLookupController.h
//  MClient
//
//  Created by  wangfei on 10-4-6.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MCTableViewController.h"
#import "MCControl.h"

@interface CustomAListLookupController : MCTableViewController <UIActionSheetDelegate,UITabBarDelegate>{
	
	UIToolbar *pageBar;
	NSString *dataObjectName;
	NSString *layoutName;
	NSMutableArray *queryFilter;
	int page;
	int totalPage;
	NSMutableDictionary *listData;
	NSMutableDictionary *listLayout;
	int startFieldIndex;
	NSMutableArray *labelBufferArray;
	NSMutableArray *valueBufferArray;
	NSMutableDictionary *fieldData;
	MCControl *valueField;
	NSMutableDictionary *field;	
	NSMutableDictionary *datas;
	NSString *fieldName;
	NSMutableArray *lookupBackFills;
	NSMutableDictionary *aListInfo;
	float cellWidth;
	float cellHeight;
	float imageWidth;
	float imageHeight;
	NSMutableDictionary *imagesCache;
}

@property (nonatomic, retain) NSString *dataObjectName;
@property (nonatomic, retain) NSString *layoutName;
@property (nonatomic, retain) NSMutableArray *queryFilter;
@property (nonatomic) int page;
@property (nonatomic, retain) NSMutableDictionary *listData;
@property (nonatomic, retain) NSMutableDictionary *listLayout;
@property (nonatomic, retain) NSMutableDictionary *fieldData;
@property (nonatomic, retain) MCControl *valueField;
@property (nonatomic, retain) NSMutableDictionary *field;
@property (nonatomic, retain) NSMutableDictionary *datas;
@property (nonatomic, retain) NSString *fieldName;
@property (nonatomic, retain) NSMutableArray *lookupBackFills;

- (void)getDataFromServer;

@end
